//
//  BAIndexVM.m
//  YunFu
//
//  Created by Bager on 2018/9/12.
//  Copyright © 2018年 yunfu. All rights reserved.
//

#import "BAIndexVM.h"

@implementation BAIndexVM

- (void)getInfo:(NSDictionary *)param viewForLoading:(UIView *)loadingView success:(YFResponseSuccess)success
{
    [[RequestTool shareManager] sendRequestWithAPI:@"api/imageinfo/carousel" withParams:param loadingView:loadingView responseBlock:^(id response, BOOL isError, NSString *errorMessage, NSInteger errorCode) {
        
        NSDictionary *dic = response[@"results"];
        
        
        success(response);
    }];
}

@end
